using System;
using System.Text;
using System.IO;
using System.Windows.Forms;

namespace NGCDS
{
    public class CompiledVersion
    {
        private string COMPILED_DATE = ApplicationUtil.ApplicationCreateTime.ToString("yyyy-MM-dd");

        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();
            sb.Append("\n");
            sb.Append("------------------------------------------------------");
            sb.Append("\n");
            sb.Append(Application.ProductName + " " + Application.ProductVersion);
            sb.Append(" via .NET CLR v." + Environment.Version.ToString());
            sb.Append("\n");
            sb.Append(COMPILED_DATE + " Compiled.");
            sb.Append("\n");
            sb.Append("------------------------------------------------------");
            sb.Append("\n");
            return sb.ToString();
        }
    }
}
